<?php

	class diamond_modifiers_product extends pageFactory
	{
		function diamond_modifiers_product()
		{
			parent::pageFactory();
		}

		function index(&$content)
		{
			$this->action = $this->system->request['action'];
			$gid = $this->action['args']['0'];
			$_COOKIE['BARE_'.$gid] = '55';
			if ($_COOKIE['BARE_'.$gid])
			{
				$find[] = "<div class='hightline'>";
				$replace[] = '<span>刻字：</span><input type="text" name=bare_minfo size="15" style="margin-bottom:10px;" /><br /> '.$find[0];
				$content = str_replace($find,$replace,$content);
			}

			return $content;
		}
	}
?>